<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="rtc.css">
		<script src="jquery-1.6.1.min.js"></script>
		<script src="flv.min.js"></script>
		<script src="hls.min.js"></script>
		<script src="cam-play.js"></script>
		<script src="rtc-play.js"></script>
		<script type="text/javascript">
			function hPlay() {
				let ip = $("#cip").val();
				let ccode = $("#ccode").val();
				console.log(ip,ccode);
				let dom = PlayVideo('-1', '-1', ip);
			}
		</script>
	</head>
	<body>
		<label for="cip">IP</label><input type="text" id="cip" value="192.168.1.252:8083" />
		<label for="ccode">Code</label><input type="text" id="ccode" value="-1" />
		<button onclick="javascirpt:hPlay();">播放</button>
	</body>
</html>